package com.pd.dong.generate.vtl;

import org.apache.velocity.Template;
import org.apache.velocity.VelocityContext;
import org.apache.velocity.app.Velocity;

import java.io.StringWriter;
import java.util.Properties;

/**
 * @author dongpeng32
 * @time 2020/10/21
 */
public class VelocityTest {

    public static void main(String[] args) {

        GeneratorInfo generatorInfo = new GeneratorInfo();
        generatorInfo.setDomainObjectName("doo");
        generatorInfo.setPackagePath("com.pd.dong");
       VelocityUtils.generateCode(generatorInfo);

    }
}
